package com.yz.jdd.scan;

import android.view.SurfaceHolder;
import android.view.SurfaceView;

import com.yz.jdd.scan.decoding.CaptureHandler;
import com.yz.jdd.scan.view.ViewfinderView;


/**
 * Created by shibin on 2017/1/13.
 */

public interface Scanner {
    void init(SurfaceView surfaceView, ViewfinderView viewfinderView);

    void doScan(ScanEventListener scanEventListener, boolean isScanable);

    CaptureHandler getCaptureHandler();
    void release();
}
